package com.hellobike.haxing.modules.dealcampaign.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import com.hellobike.haxing.common.annotation.Dict;
import com.baomidou.mybatisplus.annotation.TableLogic;
/**
 * @Description: t_deal_campaign
 * @Author: haxing-boot
 * @Date:   2020-02-28
 * @Version: V1.0
 */
@Data
@TableName("t_deal_campaign")
public class DealCampaign implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**id*/
	@TableId(type = IdType.AUTO)
    private Long id ;
	/**活动起效时间*/
	@Excel(name = "活动起效时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
        private Date campaignValidTime ;
	/**活动过期时间*/
	@Excel(name = "活动过期时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
        private Date campaignExpireTime ;
	/**分享图片URL*/
	@Excel(name = "分享图片URL", width = 15)
        private String shareImag ;
	/**分享标题*/
	@Excel(name = "分享标题", width = 15)
        private String shareTitle ;
	/**活动规则*/
	@Excel(name = "活动规则", width = 15)
        private String campaignRule ;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
        private Date createTime ;
	/**updateTime*/
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
        private Date updateTime ;
	/**createBy*/
	@Excel(name = "createBy", width = 15)
        private Integer createBy ;
	/**updateBy*/
	@Excel(name = "updateBy", width = 15)
        private Integer updateBy ;
	/**deleted*/
	@Excel(name = "deleted", width = 15)
      @TableLogic
      private Integer deleted ;
	/**状态*/
	@Excel(name = "状态", width = 15)
        private Integer status ;
	/**券包ID*/
	@Excel(name = "券包ID", width = 15)
        private Integer couponPackageId ;
	/**分享有效期*/
	@Excel(name = "分享有效期", width = 15)
        private Integer shareExpireHour ;
}
